﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace XsqTech.SmartOA.Domain.Table
{
    /// <summary>
    /// 用户角色关系
    /// </summary>
    public class UserRole
    {
        [Key]
        public Guid URId { get; set; } = Guid.NewGuid();

        /// <summary>
        /// 用户Id
        /// </summary>
        public Guid UserId { get; set; }

        /// <summary>
        /// 角色Id
        /// </summary>
        public Guid RoleId { get; set; }
    }
}
